﻿
@model Work.UI.Web.MVC.Models.Resume.EducationModel

@{
    ViewBag.Title = "Освіта";
    Layout = "~/Views/Shared/_MyLayout.cshtml";
}

@{
    Html.EnableClientValidation(true);
}


@section Menu{
    @RenderPage("~/Views/Shared/_EmployeeMenu.cshtml")
}

<h2>Освіта</h2>

@using (Html.BeginForm())
{
    <table>
        <tr>
            <td colspan="2">Рівень освіти:</td>
        </tr>
        <tr>
            <td>
                @Html.TextBoxFor(model => model.Degree, new {style = "width:270px;"})
            </td>
            <td>
                @Html.ValidationMessageFor(m => m.Degree)
            </td>
        </tr>
        <tr>
            <td colspan="2">Навчальний заклад:</td>
        </tr>
        <tr>
            <td>
                @Html.TextBoxFor(model => model.Institution, new {style = "width:270px;"})
            </td>
            <td>
                @Html.ValidationMessageFor(m => m.Institution)
            </td>
        </tr>
        <tr>
            <td colspan="2">Факультет, спеціальність:</td>
        </tr>
        <tr>
            <td>
                @Html.TextBoxFor(model => model.Speciality, new {style = "width:270px;"})
            </td>
            <td>
                @Html.ValidationMessageFor(m => m.Speciality)
            </td>
        </tr>
        <tr>
            <td colspan="2">Місто:</td>
        </tr>
        <tr>
            <td>
                @Html.TextBoxFor(model => model.City, new {style = "width:270px;"})
            </td>
            <td>
                @Html.ValidationMessageFor(m => m.City)
            </td>
        </tr>
        <tr>
            <td colspan="2">Період навчання з:</td>
        </tr>
        <tr>
            <td>
                @Html.TextBoxFor(model => model.StartYear, new {@class = "date-field", style = "width:270px;"})
            </td>
            <td>
                @Html.ValidationMessageFor(m => m.StartYear)
            </td>
        </tr>
        <tr>
            <td colspan="2">по:</td>
        </tr>
        <tr>
            <td>
                @Html.TextBoxFor(model => model.EndYear, new {@class = "date-field", style = "width:270px;"})
            </td>
            <td>
                @Html.ValidationMessageFor(m => m.EndYear)
            </td>
        </tr>
    </table>
    <input type="submit" value="Далі"/>
}